<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="<c:url value="/commonres/css/CommonUI.css"/>" />
        <title>登 入</title>
        <!--[if lte IE 7]><style>.main{display:none;} .support-note .note-ie{display:block;}</style><![endif]-->
    </head>
	<body>
	    <c:if test="${param.error != null}">
            <h2>Username or password wrong!</h2>
        </c:if>
			<spring:url value="/j_spring_security_check" var="login_url" scope="request" />
			<form action="${login_url}" method="post">
		        <!-- 帳號 -->
				<input type="text" name="j_username" placeholder="請輸入帳號" />
		        <!-- 密碼 -->
		        <br>
				<input type="password" name="j_password" placeholder="請輸入密碼" />
				<!-- 送出 -->
				<br>
				<input type="submit" name="submit" class="auto" value="Log in" />
			</form>
			
	</body>
</html>
